<?php

use Illuminate\Database\Seeder;

class AdminTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        $data = [];
        for($i=0;$i<100;$i++){
        	$temp['a_uname']='test'.$i;
        	$temp['a_upass']='test'.$i;
        	$temp['role_id']=2;
        	$temp['a_status']=0;
        	$temp['a_name']='张大嘴'.$i;
        	$temp['a_phone']='13553555324';
        	$data[]=$temp;
        }
        DB::table('admins')->insert($data);
    }
}
